Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_GD_DETACH

EOS_GD_DETACH

This function detaches from the grid interface. This routine should be run before exiting from the grid file for every grid opened by EOS_GD_CREATE or EOS_GD_ATTACH.

Syntax

Result = EOS_GD_DETACH(gridID)

Return Value

Returns SUCCEED(0) if successful and FAIL(–1) otherwise.

Arguments

gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

Keywords

None

Examples

In this example, we detach a grid structure:

status = EOS_GD_DETACH(gridID)

Version History

 

5.2

Introduced

See Also

EOS_GD_ATTACH